package com.itheima.param;




public class TestDemo1 {



    //基本数据类型是值传递
    public static void main(String[] args) {
        int a = 10;
        System.out.println(a);
        change(a);
        System.out.println(a);


    }


    public static void change(int a){
        System.out.println(a);
        a = 20;
        System.out.println(a);
    }



}
